package com.example.promethues.dto;

import java.util.List;

/**
 * prometheusApi返回封装类
 */
public class PromApiResult {

    /** 查询状态: "success" | "error"  */
    private String status;
    /** 查询结果 */
    private PromApiData data;
    /** 查询结果 */
    private String errorType;
    /** 错误信息 */
    private String error;
    /** 仅当执行请求时出现警告时 */
    private List<String> warnings;
    /** 原始数据 */
    private String originalData;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public PromApiData getData() {
        return data;
    }

    public void setData(PromApiData data) {
        this.data = data;
    }

    public String getErrorType() {
        return errorType;
    }

    public void setErrorType(String errorType) {
        this.errorType = errorType;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public List<String> getWarnings() {
        return warnings;
    }

    public void setWarnings(List<String> warnings) {
        this.warnings = warnings;
    }

    public String getOriginalData() {
        return originalData;
    }

    public void setOriginalData(String originalData) {
        this.originalData = originalData;
    }
}
